package cn.edu.seig.springks.dao;

import cn.edu.seig.springks.pojo.cart;
import cn.edu.seig.springks.pojo.order;
import cn.edu.seig.springks.pojo.product;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface detailMapper {
    product selectProductsById(Integer p_id);

    int insertCart(cart cart);
    int buyProduct(order order);
}
